package com.youshang520i.controller;

import com.support.annotation.ConditionOnClass;
import com.youshang520i.model.Student;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author youshang
 */
@RestController
@RequestMapping("/condition")
@ConditionOnClass(clazz = Student.class)
public class ConditionController {

    @GetMapping("/index")
    public String index() {
        return "condition_test_index";
    }
}
